
Facebook status: 
<?php if(isset($data['value']) && $data['value']=='1'){?>
<script type="text/javascript">
fbplugin.readit();
</script>
<a href="javascript:;" onclick="$('#fbstatus').load('<?php echo $this->Seo->link('/fbs/fboff').'/'.$data['fbid'];?>');">
<img src=<?php echo $this->webroot.'img/st_on.png'?> /> On
</a>
<?php }else{?>
<a href="javascript:;" onclick="$('#fbstatus').load('<?php echo $this->Seo->link('/fbs/fbon').'/'.$data['fbid'];?>');">
<img src=<?php echo $this->webroot.'img/st_off.png'?> /> Off
</a>
<?php }?>
&nbsp;|&nbsp;<a href="javascript:;" onclick="openRecentActivity('<?php echo $data['fbid']?>')">Recent activities</a>
